package com.swxy.club.dto.Vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.swxy.club.enums.AuditStatus;
import com.swxy.club.serializer.EnumFlatSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ClubApprovalVO {
    private Integer id;
    private String clubName;     // 社团名称
    private String applyReason;  // 申请理由
    private String applicant;    // 申请人姓名
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime applyTime; // 申请时间
    @JsonSerialize(using = EnumFlatSerializer.class)
    private AuditStatus status;       // 审批状态
}